@class SlideshowViewController;
@class HLayoutView;

@interface SlideshowView : UIView <UIScrollViewDelegate>
{
    SlideshowViewController *controller;
    HLayoutView *mainLayout;
    NSMutableArray *photoContainers; // UIView *container
}

- (id)initWithFrame:(CGRect)frame controller:(SlideshowViewController *)c;

- (void)setNumberOfPhotos:(int)n;
- (void)setPhoto:(UIImage *)photo atIndex:(int)index;
- (void)showPhotoAtIndex:(int)index;

- (UIView *)loadingIndicatorView;

@end
